package com.canbot.u05.activity.presidemode.newcode.bean;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;
import java.util.List;

public class HostModuleData implements Serializable {
    private String taskName;
    private String nodesJson;
    private List<HostItemBean> taskNodes;

    public HostModuleData() {
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public List<HostItemBean> getTaskNodes() {
        return taskNodes;
    }

    public void setTaskNodes(List<HostItemBean> taskNodes) {
        this.taskNodes = taskNodes;
        this.nodesJson = JSON.toJSONString(taskNodes);
    }

    @Override
    public String toString() {
        return "HostModuleData{" +
                "taskName='" + taskName + '\'' +
                '}';
    }
}
